<?php
class Alternativa {
    private $id;
    private $descricao;
    private $explicacao;
    private $id_pergunta;
    
    function __construct($descricao, $explicacao){
        $this->descricao = $descricao;
        $this->explicacao = $explicacao;
    }
    
    public function setId($id){
        $this->id = $id;
    }
    
    public function getId(){
        return $this->id;
    }
    
    public function setDescricao($descricao){
        $this->descricao = $descricao;
    }
    
    public function getDescricao(){
        return $this->descricao;
    }
    
    public function setExplicacao($explicacao){
        $this->explicacao = $explicacao;
    }
    
    public function getExplicacao(){
        return $this->explicacao;
    }
    
    public function setIdPergunta($id_pergunta){
        $this->id_pergunta = $id_pergunta;
    }
    
    public function getIdPergunta(){
        return $this->id_pergunta;
    }
    
}
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

